new function for mapping a window without fooling with stacking order, but
authorHavoc Pennington <hp@pobox.com>
Thu, 28 Jun 2001 05:24:00 +0000 (05:24 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Thu, 28 Jun 2001 05:24:00 +0000 (05:24 +0000)
commit796dc4b1d76e79ef3c4a95751c33aabf721bfc51
treefe309e817946c5290c93724bbfe64c3cf345acb6
parent8eaa071617f29f267bb0ffb05976fa5885dbf595
new function for mapping a window without fooling with stacking order, but

2001-06-19  Havoc Pennington  <hp@pobox.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_show_unraised): new function
for mapping a window without fooling with stacking order, but
updating the "withdrawn" flag

* gdk/x11/gdkevents-x11.c (gdk_event_translate): Do event
filtering as soon as possible, moving move resize and wmspec_check
handling after the event filter.  Make default filter apply to all
events, not just those with no GdkWindow wrapped around the X
window. Fix a FIXME about how the window could be a pixmap using
RTTI; this of course assumes GDK_IS_WINDOW() is optimized.

Also, be robust against events not on a known GdkWindow.

* gdk/x11/gdkmain-x11.c (gdk_x11_grab_server,
gdk_x11_ungrab_server): export reference-counted server grabs, so
other people can grab server over a GDK function that also does
so.
18 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/gtk/tmpl/gtkrc.sgml
docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml
docs/reference/gtk/tmpl/gtkwindow.sgml
gdk/gdkwindow.c
gdk/gdkwindow.h
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkevents-x11.c
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkx.h